import axios from '~/axios'

export function getUserLevelList(page){
    return axios.get(`/admin/user_level/${page}`);
}

export function createUserLevel(data){
    return axios.post(`/admin/user_level`,data);
}
export function editUserLevel(id,data){
    return axios.post(`/admin/user_level/${id}`,data);
}
export function deleteUserLevel(id){
    return axios.post(`/admin/user_level/${id}/delete`);
}
export function upateUserLevelStatus(id,status){
    return axios.post(`/admin/user_level/${id}/update_status`,{status});
}
